// OUTDOOR SECTION SCRIPT
//    Section: X = 1, Y = 0: Northern Avernum

beginoutdoorscript;

variables;

int choice,dummy;

body;

beginstate INIT_STATE;
// This state called whenever this section is loaded into memory.
break;

beginstate START_STATE;
// Starting state of the section, called every turn the party 
// stands inside this section until you change the state.
break;


beginstate 11;
	reset_dialog();
	add_dialog_str(0,"Here Bahssikavan lands end. Do you wish to leave these mad, zealot sliths behind and seek adventure elsewhere?",0);
	add_dialog_choice(0,"No. More needs to be done here.");
	add_dialog_choice(1,"Yes. I can't handle this anymore.");
	choice = run_dialog(1);
	if (choice == 1)
		{block_entry(1);
		message_dialog("You step away. Despite the strangeness of your mission, you will stick with it for a little longer.","");
		end(); }
	if (choice == 2)
		{reset_dialog();
		add_dialog_str(0,"You walk away from Bahssikavan lands, away from Legare's madness, from the intensity of his passions, and from the hopes and dreams of dozens of sliths.",0);
		add_dialog_str(1,"Although it is far easier to leave than to stay, you can't help but wonder amongst yourselves as you make your way back to Fort Dranlon what will happen to this band of believers.",0);
		add_dialog_str(2,"Not long afterwards, though, you find yourselves carried away on another mission. You never hear from Legare's followers again.",0);
		choice = run_dialog(1);
		end_scenario(0);
		}
break;

beginstate 12;
	if (get_flag(110,0) == 1)
	end();
	else
	{reset_dialog();
	add_dialog_str(0,"There is quite a lot of devastation around here. Blast marks, rubble, and skeletons are everywhere. The skeletons are clearly of human and slith origin. They all look old, but not too old. It appears that there was a massive battle here some years past.",0);
	add_dialog_str(1,"The somewhat tattered Empire emblem still visible on the cave wall leaves no doubt about the identity of the human deceased. The sliths, however, are more mysterious. They bear far too few weapons to be the famed Darklings of Sss-Thsss.",0);
	add_dialog_str(2,"As you look through the wreckage, it becomes clear: the Empire attacked and destroyed a village of unarmed, defenseless sliths. They killed every last one, and then they burned the village.",0);
	add_dialog_str(3,"You move past the devastation. Bahssikava lies not far ahead.",0);
	dummy = run_dialog(1);
	set_flag(110,0,1); }
break;